package com.zsm.eblog.service.impl;

import com.zsm.eblog.mapper.UserMapper;
import com.zsm.eblog.pojo.User;
import com.zsm.eblog.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author : ZSM
 * Time :  2024/08/18
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User login(User user) {
        return userMapper.select(user);
    }
}
